package com.example.libraryapp.activity.login;

import com.example.libraryapp.bean.User;
import com.example.libraryapp.bean.response.BaseResponse;
import com.example.libraryapp.network.base.IBaseView;

/**
 * @author 伍凯铭
 * @since 2020/6/18
 */
public interface LoginContract {

    interface View extends IBaseView {
        void showLogin(BaseResponse<User> response);
    }

    interface Presenter {
        void doLogin(String sno, String password);
    }

}
